<%@ page language="java" pageEncoding="UTF-8"%>
<script type="text/javascript">
	$(function() {
		$('#yxsj_edit_dept').combotree({
			lines : true,
			url : 'deptAction!do_combotree.action',
			panelHeight : 260,
			required : true,
			editable : false,
			idField : 'id',
			textField : 'text',
			parentField : 'pid',
			onBeforeSelect : function(node) {
				if (!$(this).tree('isLeaf', node.target)) {
					return false;
				}
			},
			onClick : function(node) {
				if (!$(this).tree('isLeaf', node.target)) {
					$('#yxsj_edit_dept').combo('showPanel');
				}
			},
			onSelect:function(node){
				$('#yxsj_edit_userbh').combobox('clear');
				$('#yxsj_edit_userbh').combobox('reload','userAction!do_combobox.action?deptid='+node.id);
			}
		});
	});
</script>
<div align="center" style="padding:5px">
	<form method="post" id="yxsj_edit_form">
		<input type="hidden" name="modifyuserid" value="${sessionInfo.userId}" />
		<input type="hidden" name="cid" />
		<table class="t2">
			<tr>
				<th >所属单位：</th>
				<td colspan="3"><input type="text" id="yxsj_edit_dept" name="deptid" style="width:240px" /></td>
			</tr>
			<tr>
				<th>员工姓名：</th>
				<td colspan="3"><input type="text" id="yxsj_edit_userbh" name="cbh"  style="width:240px" /></td>
			</tr>
			<tr>
				<th width="80">业务种类：</th>
				<td width="160"><input type="text"  name="kindname" class="input_readonly" readonly="readonly" style="width:150px;" /></td>
				<th width="80">月份：</th>
				<td width="160">
					<input  type="text" name="csbyf"  class="input_readonly" readonly="readonly" style="width:150px"/>
				</td>
			</tr>
			<tr>
				<th>账号：</th>
				<td><input type="text" name="czh" class="input_readonly" readonly="readonly" style="width:150px" /></td>
				<th>存期：</th>
				<td>
					<input  type="text" name="ccq"  class="input_readonly" readonly="readonly" style="width:150px"/>
				</td>
			</tr>
			<tr>
				<th>开户局：</th>
				<td><input type="text" name="ckhj" class="input_readonly" readonly="readonly" style="width:150px" /></td>
				<th>账户余额：</th>
				<td>
					<input  type="text" name="cye"  class="input_readonly" readonly="readonly" style="width:150px"/>
				</td>
			</tr>
			<tr>
				<th>积分：</th>
				<td><input type="text" name="cjf" class="input_readonly" readonly="readonly" style="width:150px" /></td>
				<th>营销奖励：</th>
				<td>
					<input  type="text" name="cyxfy"  class="input_readonly" readonly="readonly" style="width:150px"/>
				</td>
			</tr>
		</table>
	</form>
</div>